From: Florian Müllner Date: Thu, 12 May 2016 15:35:47 +0000 (+0200) Subject: build: Set rpath on more executables X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~863 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=b7867fe44c45f60a9399baf737132a9ba30351aa;p=gnome-shell.git build: Set rpath on more executables We need to point executables to our private cogl/clutter forks. Commit 093fd54e2 did this for the main executable, but forgot the extension-prefs tool and other helpers. --- diff --git a/src/Makefile.am b/src/Makefile.am index 76ad9f7f8..e9aacfe0c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -213,6 +213,7 @@ nodist_gnome_shell_extension_prefs_SOURCES = \ $(NULL) gnome_shell_extension_prefs_CPPFLAGS = $(gnome_shell_cflags) gnome_shell_extension_prefs_LDADD = libgnome-shell-js.la $(GNOME_SHELL_LIBS) +gnome_shell_extension_prefs_LDFLAGS = -rpath $(MUTTER_TYPELIB_DIR) if HAVE_NETWORKMANAGER @@ -226,6 +227,7 @@ nodist_gnome_shell_portal_helper_SOURCES = \ $(NULL) gnome_shell_portal_helper_CPPFLAGS = $(gnome_shell_cflags) gnome_shell_portal_helper_LDADD = libgnome-shell-js.la $(GNOME_SHELL_LIBS) +gnome_shell_portal_helper_LDFLAGS = -rpath $(MUTTER_TYPELIB_DIR) endif @@ -280,7 +282,7 @@ noinst_PROGRAMS += run-js-test run_js_test_CPPFLAGS = $(MUTTER_CFLAGS) $(gnome_shell_cflags) run_js_test_LDADD = libgnome-shell.la $(GNOME_SHELL_JS_LIBS) $(MUTTER_LIBS) -run_js_test_LDFLAGS = -export-dynamic +run_js_test_LDFLAGS = -export-dynamic -rpath $(MUTTER_TYPELIB_DIR) run_js_test_SOURCES = \ run-js-test.c